package shiro.authc.sys.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import shiro.authc.sys.entity.User;
import shiro.authc.sys.mapper.UserMapper;
import shiro.authc.sys.service.UserService;

/**
 * @author 李岩峰
 * @date 2017/11/21 15:14
 * @description
 */
@Service
public class UserServiceImpl implements UserService
{

	@Autowired
	private UserMapper userMapper;

	@Override
	public User getUserByUsername(String username)
	{
		return userMapper.selectUserByUsername(username);
	}
}
